﻿using System;
namespace You.Niao.ShaFa.Model
{
	/// <summary>
	/// ShaFaInfo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class ShaFaInfo
	{
		public ShaFaInfo()
		{}
		#region Model
		private int _shafainfoid;
		private int _userid;
		private string _createuser;
		private int _type=1;
		private string _nation;
		private string _province;
		private string _city;
		private string _area;
		private int? _number=0;
		private int? _tourday=1;
		private int? _receiveway;
		private string _title;
		private int _textid;
		private DateTime _createdate= DateTime.Now;
		private int _usertype=1;
		
        /// <summary>
		/// 沙发客信息ID
		/// </summary>
		public int ShaFaInfoID
		{
			set{ _shafainfoid=value;}
			get{return _shafainfoid;}
		}
		/// <summary>
		/// 用户ID
		/// </summary>
		public int UserID
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 创建者
		/// </summary>
		public string CreateUser
		{
			set{ _createuser=value;}
			get{return _createuser;}
		}
		/// <summary>
		/// 类型，1发布沙发客信息，2接待沙发，3相约同行，
		/// </summary>
		public int Type
		{
			set{ _type=value;}
			get{return _type;}
		}
		/// <summary>
		/// 国家
		/// </summary>
		public string Nation
		{
			set{ _nation=value;}
			get{return _nation;}
		}
		/// <summary>
		/// 省
		/// </summary>
		public string Province
		{
			set{ _province=value;}
			get{return _province;}
		}
		/// <summary>
		/// 市
		/// </summary>
		public string City
		{
			set{ _city=value;}
			get{return _city;}
		}
		/// <summary>
		/// 区域
		/// </summary>
		public string Area
		{
			set{ _area=value;}
			get{return _area;}
		}
		/// <summary>
		/// 人数
		/// </summary>
		public int? Number
		{
			set{ _number=value;}
			get{return _number;}
		}
		/// <summary>
		/// 旅游天数
		/// </summary>
		public int? TourDay
		{
			set{ _tourday=value;}
			get{return _tourday;}
		}
		/// <summary>
		/// 接待方式,对应操作帮助类
		/// </summary>
		public int? ReceiveWay
		{
			set{ _receiveway=value;}
			get{return _receiveway;}
		}
		/// <summary>
		/// 发表内容
		/// </summary>
		public string Title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 文本ID
		/// </summary>
		public int TextID
		{
			set{ _textid=value;}
			get{return _textid;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 用户类型，我是驴友，国际友人,对应CS的帮助类
		/// </summary>
		public int UserType
		{
			set{ _usertype=value;}
			get{return _usertype;}
		}
		#endregion Model

	}
}

